//
//  BaiduMapViewController.h
//  testBaiduMap
//
//  Created by 张金梦 on 16/1/15.
//  Copyright © 2016年 Moon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <BaiduMapAPI_Base/BMKBaseComponent.h>//引入base相关所有的头文件
#import <BaiduMapAPI_Map/BMKMapComponent.h>//引入地图功能所有的头文件
#import <BaiduMapAPI_Search/BMKSearchComponent.h>//引入检索功能所有的头文件
#import <BaiduMapAPI_Location/BMKLocationComponent.h>//引入定位功能所有的头文件
#import <BaiduMapAPI_Utils/BMKUtilsComponent.h>
//#import <BaiduMapAPI_Map/BMKMapView.h>//只引入所需的单个头文件
 

@interface BaiduMapViewController : UIViewController<BMKMapViewDelegate,BMKGeoCodeSearchDelegate,BMKLocationServiceDelegate,BMKRouteSearchDelegate,BMKAnnotation>

@property (strong, nonatomic) IBOutlet BMKMapView *baiduMapView;
@property(nonatomic,strong) BMKGeoCodeSearch *searcher;
@property(nonatomic,strong) BMKLocationService *locService;
@property(nonatomic,strong) BMKRouteSearch *Routesearcher;
@property(nonatomic,strong)NSString * cityname;//宣讲会所在的城市
@property(nonatomic,strong)NSString *startName;// 定位的地方，也是起点信息
@property(nonatomic,strong)NSString *endName; // 参数宣讲会地址，也是地图的终点

@property (weak, nonatomic) IBOutlet UILabel *placeNameLable;
@property (weak, nonatomic) IBOutlet UIButton *schoolMapBtn;

@property(nonatomic,assign) CLLocationCoordinate2D startPt;

@property(nonatomic,assign) float localLatitude;
@property(nonatomic,assign) float localLongitude; //定位的经纬度

@property(nonatomic,assign) float endLatitude;
@property(nonatomic,assign) float endLongitude;//宣讲会地址的经纬度



@end
